468,284 Members | 1,565 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,284 developers. It's quick & easy.

socket port is not configuring .... plz help

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

Mar 8 '07 #1
2 1695
On Thu, 08 Mar 2007 04:31:40 -0800, yogesh wrote:
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).

--
Lionel B
Mar 8 '07 #2
"yogesh" <yo**********@gmail.comwrote in message
news:11*********************@q40g2000cwq.googlegro ups.com...
>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
Mar 8 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Chuck E. Cheese | last post: by
11 posts views Thread by anuradha.k.r | last post: by
4 posts views Thread by DreJoh | last post: by
5 posts views Thread by John Sheppard | last post: by
2 posts views Thread by Droopy | last post: by
4 posts views Thread by carl_bevil | last post: by
reply views Thread by petr.poupa | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.