Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Socket problems.

3 views
Skip to first unread message

Davide Bianchi

unread,
Aug 9, 2000, 3:00:00 AM8/9/00
to
Hello all,
I have a (small) problem with some socket... I wrote a simple program
that basically open a socket and listen for connection, when a
connection is established, it simply dump on the consolle the data
received.
This is basically a "server".

Then I wrote a "client" that send a file to the server, before the
file a simple "header" is sent. I wrote both program so they can
be compiled in windows and in linux.

Now the problem: when I run the server on Windows and send data
from Windows (Windows to Windows), everything run fine. When I
run the server on Linux and send the data from Windows (Windows to
Linux), the server receive the "header" then wait forever for the
other data... the recv() takes forever!!!

What's going on ???
Any idea ??

Davide


David Rysdam

unread,
Aug 10, 2000, 3:00:00 AM8/10/00
to
Are the programs (source code) relatively small? If so, email them to
me and I'll take a look. Otherwise just email me and I'll try to talk
you through some questions.

And Davide Bianchi Spoke:


--
My public encryption key is available from www.keyserver.net

0 new messages