Hi Fergal,
            I'm not giving any port no. in my program while binding. If i
give a port no. , the Bind command is failing and the help document also is
telling to ingnore the port number. So where i should do this ? please help.

-Aaron



> Don't listen to task manager - try sending some data to your program on
the port it is listening on and it will react (assuming that you have set up
the socket correctly) - you can send data to it either by creating a simple
client program or
>
> telnet localhost port
>
> where port is the number of the port that you opened .
>
> Fergal.
> > -----Original Message-----
> > From: Aaron Peter [mailto:[EMAIL PROTECTED]]
> > Sent: 03 September 2001 11:34
> > To: Palm Developer Forum
> > Subject: Re: Socket program - server
> >
> >
> > HI,
> >      I'm running my programin POSE. While executing
> > NetLibSocketAccept line
> > of my program , my Task Manganer is showing the program
> > status as " Not
> > Responding ". Is it waiting for a socket or a bug in my
> > program ...please
> > help
> >
> > -Aaron
> >
> > > >        I'm using GCC in Widnows platform. In my program when
> > > > the control
> > > > comes to NetLibSocketAccept it hangs there...
> >
> > > Of course it does!  NetLibSocketAccept is a blocking call - in other
> > words - your program will hang until either it receives an
> > input on the
> > socket or until it times out.
> > >
> > > Fergal.
> > >
> > > --
> > > For information on using the Palm Developer Forums, or to
> > unsubscribe,
> > please see http://www.palmos.com/dev/tech/support/forums/
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to
> > unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
> >
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to