[EMAIL PROTECTED] ha scritto:

> I am trying to send a string to another application by using a socket in
> win95, and i keep getting this error:

If you want to use 'write, the correct syntax is:

write tcp://127.0.0.1:50004/ ip

(where 50004 is the port number, I suppose).

Notice that write closes the conection immediately after sending
your string. If you don't want it to be closed, use 'open:

port: open tcp://127.0.0.1:50004/

insert port ip ; I suppose 'ip holds your string...

; etc..

close port

Regards,
    Gabriele.

Reply via email to