Re: socket ( or something )
- Posted by cense <cense at MAIL.RU> Sep 28, 2000
- 552 views
On Sun, 02 Jan 2000, <mwfch at MWEB.CO.ZA> wrote: >> >> How do i set up a server/client conection and then send data to each other . >> Example : There is a server on the internet that handles the data . 4 >> Clients dial into the server . One makes a game move and that move has to >> be displayed on the other 3 players screens . As I see it , all the data >> goes to the server and then the server sends the data to the other people . >> How does the data go from one coputer to the other ?!?! Isn`t there >> commands sutch as get_data_to_server() and send_data_to_client or >> something ? Please help ! I just dont understand how to send the data . >> ANY help . >> Thanks . >> Ferdinand . To solve your problem you need to access or interface with the socket layer of the OS you're working on. I am assuming you're using Windoze and/or MS-DOS. Well im not sure about DOS, but windoze does have a socket API (Winsock) and someone has written a wrapper for it (im not sure how complete it is). Pete has also programmed the "Eu Server", this might just be what you need but i dont know that for sure either. You should search the RDS archive for "socket" and "eu server" and see what comes up. I dont know of what help this would be to you, but i myself am *still* working on a socket wrapper for Linux (improving *alot* mostly). I would be willing to answer any further questions on sockets for you if you like. -- evil, corruption and bad taste ^cense