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/