Is there a simple Socket sample code

2008-05-28 Thread A Rafiee
I am looking for a really simple example of the native
socket calls.  Specially on how to use NetLibSelect. 
When I call it, it comes back saying that there is
data, even when there is no data.  I am not sure if I
am initializing everything correctly before the call.

Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


netErrWrongSocketType error on NetLibReceive In Emulator

2008-05-28 Thread A Rafiee
Hi,

I am running into a problem working with sockets using
the Native NetLib calls.  Everything seems to be fine
on the Palm itself.  Even on the Emulator things are
doing fine until I try a NetLibReceive call, that's
when I get a netErrWrongSocketType.  
I am running Palm OS Emulateor 3.0a6 on WinNT 4.0 with
the "Redirect NetLib calls to host TCP/IP" turned on.

Thanks in Advance.
Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: List Object HowTo

2008-05-28 Thread A Rafiee
Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


WrongSocketType

2008-05-28 Thread A Rafiee
Does anyone know why I would get a WrongSocketType
when I am trying to receive something from a socket.
Connect and Sends are working fine, it's just the
receives.

Thanks
Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


The List

2008-05-28 Thread A Rafiee
am I in the wrong list trying to get help with
sockets?

Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


RE: The List

2008-05-28 Thread A Rafiee
cool 
--- "Schau, Brian" <[EMAIL PROTECTED]> wrote:
> You might want to try the communication list :)
> 
> > -Original Message-
> > From: A Rafiee [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 20, 2000 8:51 PM
> > To: Palm Developer Forum
> > Subject: The List
> > 
> > 
> > am I in the wrong list trying to get help with
> > sockets?
> > 
> > Ali
> > 
> > __
> > Do You Yahoo!?
> > Yahoo! Messenger - Talk while you surf!  It's
> FREE.
> > http://im.yahoo.com/
> > 
> > -- 
> > 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/


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: WrongSocketType

2008-05-28 Thread A Rafiee
In case anyone is intrested in knowing the problem. It
was because I had set the netIOFlagDontRoute in the
NetLibReceive function.  Which was invalid, changing
that to a 0 got it working.

Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Message Loop

2008-05-28 Thread A Rafiee
Hi everyone,

If I am trying to listen to receive events from a
socket created with NetLibSocket(..) and user input
events what should my Message loop look like?

Thanks
Ali

__
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Casting Problem

2008-05-28 Thread A Rafiee
I am trying to cast a long to a float and I end up
with 0 as the float value :

long V1 = 1000;
float V2 = V1;

the value in V2 is 0.

Any ideas?

Ali

__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Casting Problem

2000-11-28 Thread A Rafiee

I am trying to cast a long to a float and I end up
with 0 as the float value :

long V1 = 1000;
float V2 = V1;

the value in V2 is 0.

Any ideas?

Ali

__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

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



Message Loop

2000-11-07 Thread A Rafiee

Hi everyone,

If I am trying to listen to receive events from a
socket created with NetLibSocket(..) and user input
events what should my Message loop look like?

Thanks
Ali

__
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/

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



Re: WrongSocketType

2000-10-20 Thread A Rafiee

In case anyone is intrested in knowing the problem. It
was because I had set the netIOFlagDontRoute in the
NetLibReceive function.  Which was invalid, changing
that to a 0 got it working.

Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



RE: The List

2000-10-20 Thread A Rafiee

cool 
--- "Schau, Brian" <[EMAIL PROTECTED]> wrote:
> You might want to try the communication list :)
> 
> > -Original Message-
> > From: A Rafiee [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, October 20, 2000 8:51 PM
> > To: Palm Developer Forum
> > Subject: The List
> > 
> > 
> > am I in the wrong list trying to get help with
> > sockets?
> > 
> > Ali
> > 
> > __
> > Do You Yahoo!?
> > Yahoo! Messenger - Talk while you surf!  It's
> FREE.
> > http://im.yahoo.com/
> > 
> > -- 
> > 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/


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



The List

2000-10-20 Thread A Rafiee

am I in the wrong list trying to get help with
sockets?

Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



WrongSocketType

2000-10-20 Thread A Rafiee

Does anyone know why I would get a WrongSocketType
when I am trying to receive something from a socket.
Connect and Sends are working fine, it's just the
receives.

Thanks
Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



netErrWrongSocketType error on NetLibReceive In Emulator

2000-10-19 Thread A Rafiee

Hi,

I am running into a problem working with sockets using
the Native NetLib calls.  Everything seems to be fine
on the Palm itself.  Even on the Emulator things are
doing fine until I try a NetLibReceive call, that's
when I get a netErrWrongSocketType.  
I am running Palm OS Emulateor 3.0a6 on WinNT 4.0 with
the "Redirect NetLib calls to host TCP/IP" turned on.

Thanks in Advance.
Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Re: List Object HowTo

2000-10-19 Thread A Rafiee

Make sure you are using FrmGetFormPtr() to the pointer
to the form that Screen2ResultList is in.

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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



Is there a simple Socket sample code

2000-10-16 Thread A Rafiee

I am looking for a really simple example of the native
socket calls.  Specially on how to use NetLibSelect. 
When I call it, it comes back saying that there is
data, even when there is no data.  I am not sure if I
am initializing everything correctly before the call.

Ali

__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

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