| From: | Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com> |
|---|---|
| To: | J S B <jsbali(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: berkley sockets |
| Date: | 2006-09-15 14:53:42 |
| Message-ID: | 450ABE76.60003@amsoftwaredesign.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Wed, Sep 13, 2006 at 08:40:24PM -0400, J S B wrote:
>> Thanks alot Tony.
>> just wondering if the same can be done with C
>>
If you are more comfortable with C, I don't see why you couldn't do the
same thing as that PLperl function.
It's just a matter of creating a socket and sending a string with a
CRLF, and then if the command you send returns anything you just go into
a blocking
read until you get the response back.
Later,
--
Tony Caduto
AM Software Design
http://www.amsoftwaredesign.com
Home of PG Lightning Admin for Postgresql
Your best bet for Postgresql Administration
| From | Date | Subject | |
|---|---|---|---|
| Next Message | zeljko | 2006-09-15 15:37:50 | Re: compressed protocol |
| Previous Message | Brandon Aiken | 2006-09-15 14:52:05 | Re: Installation with sources or with packages |