Thanks,
I'll check this out
>
> At the server end just use a TWSocket instead of a TWSocketServer if you
> only need one client. Then it needs to listen:
> Socket.Listen;
> and when a connection comes in (SessionAvailable) you accept it:
> Socket.HSocket := Socket.Accept;
> Then the connection
Thanks,
I'll try this
- Oorspronkelijk bericht -
Van: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
Aan: "ICS support mailing"
Verzonden: zaterdag, oktober 08, 2005 11:28
Onderwerp: Re: [twsocket] Socket one to one
> Hello Werner,
>
> You always n
- Original Message -
From: "Werner" <[EMAIL PROTECTED]>
To:
Sent: Saturday, October 08, 2005 9:02 AM
Subject: [twsocket] Socket one to one
> Hi,
>
> Is it possible to have a socket connection from client to client ?
> Because I need only a 1 to 1 conne
Hello Werner,
You always need a listening socket to accept inbound connections. When a
client connect you accept/dup the client to a data socket. Server stay
listening. You can use a normal TWSocket as server and handle the
creation of data sockets, but then you are just re-inventing
TWSocketServe
Hi,
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 onl