#2 RxSock with regina, server socket

open
nobody
None
5
2004-02-18
2004-02-18
Freddy Madsen
No

Hi,

I seem to have a problem with RxSock. I am trying to
write a little
client/server (on local LAN), using regina REXX. The
server should accept small text messages
from everybody, and the clients accepts smal messages
from the server.
I use the newest version I could manage to find:
say 'Loadet Socket Library Version' SockVersion() 'Sock
Version'
RxSockVersion()
Loadet Socket Library Version 1.1 Sock Version 1.6
WindowsNT 5.00 WIN2K computername i586

I tryed many things. SockSocket dislike SOCK_DGRAM -
produces a syntax
state, invalid call. It likes SOCK_STREAM.
I can't use INADDR_ANY with sockbind..

How can I make the server accept any IP on a specific
port - say port 1234.
UDP or TCP is OK.

:-) Freddy

Discussion