|
-
Feb 21st, 2006, 12:43 PM
#1
Thread Starter
Junior Member
Can winsock receive a GPRS packet?
Hi All..
I am using a GPRS wireless device that sends a GPRS packets to a specified IP and port through TCP/IP protocol..
I made a simple winsock server program to receives the GPRS packet.. when I asked my device to send the packet to my computer, the program told me that there is a connection established, but it havent received any data!!
I wonder can the winsock receive a GPRS packet? and if yes what may my program problem is, that it havent received any data?
Please it's a very important matter..
The SNiper
-
Feb 21st, 2006, 12:45 PM
#2
Re: Can winsock receive a GPRS packet?
As long as your device is connecting using the TCP/IP your socket will have no problem receiving the packets. Do you have any code in your data arrival sub? Can you show it if you have?
-
Feb 21st, 2006, 05:10 PM
#3
Thread Starter
Junior Member
Re: Can winsock receive a GPRS packet?
 Originally Posted by the182guy
Do you have any code in your data arrival sub?
I couldn't understand what you mean..
I've used a simple winsock program, and the code was:
-----------------------------
Dim s As String
wsk.GetData s
txtlist = txtlist & vbNewLine + vbNewLine + s
-----------------------------
I thought that there is a secial way to receive the GPRS packet that i haven't received any thing by the simple way.. so I'm asking you..
The SNiper
-
Feb 22nd, 2006, 06:29 PM
#4
Re: Can winsock receive a GPRS packet?
That looks fine, it should recieve the GPRS packet if its connected on TCP/IP, can you upload the entire project, it must be something in your other code
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|