Re: socket ( or something )

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Ferdinand,

I'm not going to be a huge help ... but here goes ...

I assume you are devoloping under windows???

If so you can check out the Euphoria Winsock library which can be found in
the archives.  It "should" allow you to do what you want but you would have
to learn a little / or alot about sockets programming.

I have created a wrapper for a TCP library called Tcp4u which is going very
well except for when I got stuck implementing a server that can handle
multiple clients.  I have a few ideas but haven't got back to trying any of
them out yet.
Tcp4u is an excellent library and I have added two commands inparticular
which make writing TCP programs very easy.  You can send a Euphoria
sequence (any Euphoria sequence up to a maxiumum length that you can set)
through a socket with one command.  I was pretty happy when I implemented
that but haven't released anything yet as I wanted to implement a demo
server program that could handle multiple clients. At this stage a don't
know if it is possible using Tcp4u, but I'll try in the next few weeks -
which doesn't help you much as this is what you want.  If you are
interested in seeing what I have and experimenting with a multi client
capable server just let me know and I'll send what I have.

If you are developing using Linux then Cense has a beta version of a
sockets wrappers available.  Have a look through the archives to find
details.

Ray Smith

>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 .
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu