Results 1 to 9 of 9

Thread: Read incoming data form a port

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member demon.KILER's Avatar
    Join Date
    Jul 2006
    Location
    I cannot remember !?
    Posts
    408

    Question Read incoming data form a port

    hi every one can any one pls help me with reading incoimg data of the port

    i thought the code was

    VB Code:
    1. sock.IOControl(IOControlCode.DataToRead, byt, bytes)
    2. sock.BeginReceive(Bufferdata, 0,bufferdata.Length, SocketFlags.None, New AsyncCallback(AddressOf OnReceive), Nothing)
    error

    VB Code:
    1. Message = "The system detected an invalid pointer address in attempting to use a pointer argument in a call"

    any help would be helpfull
    Last edited by demon.KILER; Nov 20th, 2006 at 06:02 PM.
    VS 2005 .....Framework SDK 3.0

    "Its mostly the brave one who choose to not fight"

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