[drupal-devel] OT: Binary data.

Gordon Heydon gordon at heydon.com.au
Tue Mar 15 12:55:42 UTC 2005


I wish it was, but this is a custom stream to talk to a PICK database to
extract information for the web.

The problem that the protocol is proprietary crap which has one binary
int field at the beginning of the request, and the rest is text based.


On Tue, 2005-03-15 at 13:43 +0100, Karoly Negyesi wrote:
> > int c;
> > write(sockfd, c, sizeof(int));
> >
> > So what would this be in php.
> Have no idea. But there is a great library called Drupal :D which has an 
> even greater drupal_http_request which deals with stuff like this.
> Regards
> ChX
> !DSPAM:4236d8d268691490819328!
Gordon Heydon <gordon at heydon.com.au>

More information about the drupal-devel mailing list