Aztec® Programming Language
Version 1.1 Alpha 2

Copyright © 2010-2017, Aztec Development Group, All Rights Reserved

Download Aztec

Search        Contact Us

But I love you best...

It's not something that I say in jest.

'Cause you're different, girl, from all the rest...

In my eyes.

- Todd Rundgren

 

aztec.io.SocketConnectEvent

public class SocketConnectEvent from<SocketEvent>

Base

Event

SocketEvent

SocketConnectEvent

The SocketConnectEvent class provides an event class which occurs when a socket connection request comes in on a specific port. The 'ServerSocket' class provides the SocketConnectEvent processing. The event handler then creates a 'ClientSocket' object and passes it to the 'Accept()' method. This creates the two way socket communication path, and ties the 'ClientSocket' object to that socket.

 

Once the 'Accept()' is performed, all I/O using the stream specified by 'ClientSocket.Stream()' will actually communicate with the remote application.

SocketConnectEvent Methods

SocketConnectEvent() Constructor for the SocketConnectEvent class
ServerSocket() Returns a reference to the server socket object processing the event

Derived Classes

See Also

  


SocketConnectEvent()

public method SocketConnectEvent(ServerSocket AssociatedSocket)

Parameters

AssociatedSocket

The servert socket associated with the event

Return Value

None

Description

Constructor for the SocketConnectEvent class.

 

SocketConnectEvent Class


ServerSocket()

public method<ServerSocket> ServerSocket()

Parameters

None

Return Value

Reference to server socket associated with the event

Description

This method returns the server socket reference associated with the socket connect event.

 

SocketConnectEvent Class

 

Copyright © 2010-2017

Aztec Development Group

All Rights Reserved

Download Aztec