----- Original Message -----
From: "Werner" <[EMAIL PROTECTED]>
Sent: Saturday, October 08, 2005 9:02 AM
Subject: [twsocket] Socket one to one
> Is it possible to have a socket connection from client to client ?
> Because I need only a 1 to 1 connection, I don't need a server socket who
> is able to have multiple clients comming in.
> Is there a specific whay to have 1 to 1 connection. ?
> Has it any advantages not using serverSocket and only 2 clients-socket if
> this is possible
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
At the server end just use a TWSocket instead of a TWSocketServer if you
only need one client. Then it needs to listen:
and when a connection comes in (SessionAvailable) you accept it:
Socket.HSocket := Socket.Accept;
Then the connection is established.
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be