Results 1 to 4 of 4

Thread: Can winsock receive a GPRS packet?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2006
    Posts
    20

    Post 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

  2. #2
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    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?
    Chris

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2006
    Posts
    20

    Re: Can winsock receive a GPRS packet?

    Quote 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

  4. #4
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    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
    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width