By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,152 Members | 2,159 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,152 IT Pros & Developers. It's quick & easy.

socket port is not configuring .... plz help

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
"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.