I thought I''d try programming some simple client/server programs in BeOS. I have never done any network programming in C, so bear with me
![](wink.gif)
I thought I''d try something really basic: a server that simply waits for a connection and when someone connects it should simply print out a message saying that someone connected and then exit. Now this isn''t working out very good (when I try to connect with my client, connect() returns B_ERROR). I''d be very grateful if anyone who has any experience with BSD-style sockets (or network programming of any kind) could take a look at the source and tell me what I did wrong.
![](wink.gif)
Let me know and I''ll e-mail you the source, or if you want me to, I''ll post it here.
I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, "What is that, swearing?" - Larry Wall