🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1573

Re: Using ReceiveBuff() from a client socket app?

#1573
From: chris
Date: Tue, 02 Jan 2007 18:08
19 lines
1816 bytes

>Where is ReceiveBuf going to put the data?

My goal is to create a stream piece by piece and then display 
it as a TJPEG image. (Basically I want the images coming in to However, I haven't developed the code for 
that yet because I have not been able to receive the 
information that I want to receive. I have been temporarily 
using "void * buffer" just to bring the information in as I 
step through my code.

Also, I am trusting that the very first piece of info sent 
from the server is the first 4 bytes. That is why I never 
specified the the size of 4. I was trying to make my client 
code be close to a mirror image of the server code, and because of that I assume that the first amount of data is 4 bytes. I know my code was not fully completed, but I just wanted to be able to step through my program and see the information being pulled in correctly and error free before I moved on. 

Thanks again, 

Chris
Technical Details
Message-ID: <459a9fb9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <459a8f2a$1@newsgroups.borland.com> <ku4lp294ehvbh229hj8pdhpdfp31rqa7l0@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,41e3cddf77758900
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "chris" <nospam@help.com>
Sender: "chris" <nospam@help.com>
Reply-To: "chris" <nospam@help.com>
Subject: Re: Using ReceiveBuff() from a client socket app?
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 70.46.79.254     
References: <459a8f2a$1@newsgroups.borland.com> <ku4lp294ehvbh229hj8pdhpdfp31rqa7l0@4ax.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <459a9fb9$1@newsgroups.borland.com>
Date: 2 Jan 2007 10:08:57 -0800
X-Trace: newsgroups.borland.com 1167761337 207.105.83.66 (2 Jan 2007 10:08:57 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail