realbasic-nug
[Top] [All Lists]

Re: tcp/ip socket convert from C

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: tcp/ip socket convert from C
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Sun, 30 Jan 2005 13:25:15 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <71994B56-6FB1-11D9-9ABD-000393CDFFA2 at binghamton dot edu> <2FF78157-6FB2-11D9-AA50-00039378202C at realsoftware dot com> <968FF1F0-72F2-11D9-927A-000393CDFFA2 at binghamton dot edu>
Anyone have some insight as to why the above code wouldn't be working? I tried just passing the memoryblock to the socket write method, but my version of realbasic looks like it only supports strings.

Because the connection isn't complete -- put the socket writing code into the TCPSocket.Connected event and it'll work.

HTH!

~Aaron
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>