Net command don´t worls on my Palm Pre

Previous topic - Next topic

mentalthink

HI today I try, to put a simple server and client on my Palm Pre and Pc-Machine.

I have this error when I try to connect from PC to Palm Pre, after a little time.

netgetlasError$= "10036 A blocking operation is currently executing".

Well but on iPhone, runs at the moment, and tell me both are connect.

In Palm pre, I have to do something special, I try whit dynamic IP and my own IP,

Thanks in advance.

Iván J.

Kitty Hello

Are you using 10.012 RC version? Pre must open a port in the firewall for listen/accept-ing. That's done in the 10.x version, only.
Also if you get "a blocking..." the return value is -2, no? That means -> try again.

mentalthink

Hi Gernnot, not I´m use 9.4, I read about the 10 RC, but I don´t search today, I go to make it.

Thanks

mentalthink

Hi Gernnot I try whit the Beta 10.012 and not works, I don´t kwon if is something in my PC, perhaps Drop Box or Perhaps a torrent client, but I discard all software that connects to the net, I leave out the firewall and antivirus, but don´t want connect.


MrTAToad

Could you post some sample code ?

mentalthink

Hi MrTatoad, well I made a simple server and client, but I try whit the sample codes because I don´t stay sure about my code, but don´t works. I try whit iphone and connect very quickly, but on Palm pre, never wants connect. If for you works, perhaps is something in my windows, or my router.

Kitty Hello

past some code and also make sure you output every result you get.

If a command fails, print "netgetlasterror$()" as well.

I ported ScribbleMP last weekend and it works totally fine now. Using UDP boradcasts for session finding and NET commands for messaging.

MrTAToad

#7
The Broadcast example does work on PC/Pre 2 (PC host and Pre 2 finding the host).  However, the other way around doesn't work because I believe the router stops it all...

With HelloNet the 127.0.0.1 part of the routine fails on the Pre - possibly, again, due to that not working on a wireless system.

InternetSession wont join (again, most likely the router)

TCP wont join a host and when being the host wont receive data (however, I suspect the program will only run with 2 copies on the same machine).

I suspect most of the problems are caused by the router - though until I get a new one, I cant be absolutely certain...

I have a Thomson Gateway TG585 router which is pretty poor anyway.

mentalthink

HI today I make simple code, and now it´s runs very fine. Sorry about the post, I think something was wrong, or perhaps anything on my router, 2 days ago I reset, and now the net sessions owrks very fine.

Thanks agains and excuseme.

Iván J