UNIX socket programming help

CyrusTCH

Member
Feb 4, 2001
40
0
0
Hi everyone...
I am working on a unix socket programming project. I need to create a server that uses UDP instead of TCP.
I have already created a very simple server and client. The client connect to localhost with some strings and the server echos.
This thing works fine when both the server and client are on the school unix server.
If i connect to the server, which is located on school unix server, from my local Windows sys, the server doesnt get anything from client.

I believe it is coz I dont get IP of the server right.
What I was wondering is how i can get the IP of my Server, which is on
the school UNIX server.

This is in C++.

thanks for any help!!!
 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
ifconfig eth0, or ifconfig -a. are you sure there isn't a firewall at your school?