socket port is not configuring .... plz help

Y

yogesh

i developing a game in c++,
for that i got the socket program is working successfull in freebsd ,
but the same program is shifted to the Redhat linux 9.0 .

i change the ip address and the port is also same

i can compile the code successfull. but if i run the server socket
file It not assigning the port ,
the port i am liking is 8002 .

if i run the server no output it just waiting stage is going on



i will show the output as follows

In FreeBSD
*************
freebsd1# sh server.sh
freebsd1#
listen port: 1024

listen port: 8002

freebsd1#

in LINUX
**********
[root@gemini /]# cd /home/casino/bin/server/
[root@gemini server]# sh server.sh
[root@gemini server]#
 
L

Lionel B

i developing a game in c++,
for that i got the socket program is working successfull in freebsd ,
but the same program is shifted to the Redhat linux 9.0 .
[...]

what will be the problem , can any one help

No-one can help because you haven't shown any code, so we haven't got the
faintest idea what the problem might be, or even if it's a C++ language
problem (rather than eg. a 3rd party library problem, which would be
off-topic here).
 
J

Jim Langston

yogesh said:
i developing a game in c++,
for that i got the socket program is working successfull in freebsd ,
but the same program is shifted to the Redhat linux 9.0 .

i change the ip address and the port is also same

i can compile the code successfull. but if i run the server socket
file It not assigning the port ,
the port i am liking is 8002 .

if i run the server no output it just waiting stage is going on



i will show the output as follows

In FreeBSD
*************
freebsd1# sh server.sh
freebsd1#
listen port: 1024

listen port: 8002

freebsd1#

in LINUX
**********
[root@gemini /]# cd /home/casino/bin/server/
[root@gemini server]# sh server.sh
[root@gemini server]#

-----------------------------------------------------------------------------
port is not assign . ip address and port is right ...


what will be the problem , can any one help

This souinds more like an OS issue, maybe you should try a linux newsgroup
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top