i try to do a winsock server & client
the auth method will use MD5 ALGO with private data both in client and server
but i'vn't clearly understand the process of a winsock connection

1st 1 launch my server which create a socket to the localhost (127.0.0.1)
and listen to a port (ex:251)
2nd i lanch my client which connect to localhost on the 251 port

i do it with the NON-bloquing and WM_SOCKET message

once my client is connected to the server, the server send a Text 'ServerData', to the client

it must do a FD_READ on the client
i've put a send to the server in the part of my code but when i proceedd the FD_READ on the server there is nothing to read

can someone post some code for a winsock server/client

and what is The Events and how to implement it in my app


any french code or explainations would be apreciated

if someone has some code for a pop3 server/client i'll really interrested in
.
Posted on 2003-05-20 08:20:23 by Thor0Asgard
Here is a huge collection of nice tutorials on winsock with greate examples. Read some of them and you'll perfectly get how to use winsock.
Posted on 2003-05-20 09:22:32 by masnick[CCCP]