if you are a GUSI and CODEWARRIOR EXPERT...
Posted on 1997-05-07
(please see my previous post titled "mac os 7.5.3 --> solaris 2.5"
in this area)
to recap, i am trying to send a message from a macintosh
client across to a server on a unix machine
1. the client is on a power mac os 7.5.3, code warrior version 11
2. it connects + binds + other minimum necessary stuff to my server
process on the solaris unix machine (they are ethernet'd)
3. it sends a simple message (character byte stream, fixed length)
4. it disconnects
5. repeat 1-4
So far, this is the progress i have made:
i used the GUSI package that came with CW 11 and compiled and linked
the provided source code without modifying it in any way
however, the executable does not appear to work. i say this because:
when i try to run the executable GUSIINETTEST with the following
co 111.222.333.444 6500
where 111.222.333.444 is the IP address of my unix server machine
and 6500 is the hardcoded port number that my server process uses,
i keep getting the same message "socket is not good" or something (the
debugger shows the socket value == -1) all of the other command line
options that GUSIINETTEST (or GUSIAPPLTEST , GUSIUNIXTEST, etc) all
return the same message.
HOWEVER, the executable WAS able to convert from ip name to ip address and
vice versa i.e.
111.222.333.444 --> mymachine.mycompany.com
ALSO, the GUSIFILETEST executable worked 100% well.
what i 'm wondering is>> do i have to configure and mess around
with mac tcp control panels or chooser or etc etc? i'm not very mac
literate. or, is the problem on my server side? (i have my
server process running on the unix machine of course, when i try
the client executable. also, i've tested my server by running
a client process on the same unix machine. i'm just having
a problem going across platforms from MAC --> UNIX)
if you have code which will do what i need, i'd appreciate it