Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > socket port is not configuring .... plz help

Reply
Thread Tools

socket port is not configuring .... plz help

 
 
yogesh
Guest
Posts: n/a
 
      03-08-2007
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

 
Reply With Quote
 
 
 
 
Lionel B
Guest
Posts: n/a
 
      03-08-2007
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
 
Reply With Quote
 
 
 
 
Jim Langston
Guest
Posts: n/a
 
      03-08-2007
"yogesh" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
plz help me in C/C++ Logic plz mrkanuganti@gmail.com C++ 2 11-24-2006 11:33 AM
plz help C/C++ Logic plz mrkanuganti@gmail.com C++ 1 11-24-2006 11:05 AM
plz help me in C/C++ Logic plz mrkanuganti@gmail.com C++ 1 11-24-2006 10:23 AM
Re: plz help!!! plz plz plz plzplzplz help the noob alkzy Microsoft Certification 0 10-31-2004 10:04 PM
Computer Problems... Plz Plz Plz HELP ME..... Nick Computer Support 0 06-04-2004 08:50 PM



Advertisments