Can a C function(server program) be a UDP or TCP server? - Mailing list pgsql-hackers

From Billow Gao
Subject Can a C function(server program) be a UDP or TCP server?
Date
Msg-id 677a32120710180755g77a041bbicfb4ef395cd60398@mail.gmail.com
Whole thread Raw
Responses Re: Can a C function(server program) be a UDP or TCP server?
List pgsql-hackers
Hi there,<br /><br />Is it possible to write a dynamic loaded C function as an UDP or TCP server?<br /><br />What we
wantto do it is:<br />Add a search function which send a UDP package to remote UDP server<br />and then listen to an
UDPport, waiting for the result. <br />Ideally, we don't close the UDP server after the search query end.<br />So we
canreuse it for next search.<br /><br />Is it possible?<br /><br />Thanks<br /><br />Billow<br /> 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Strange error dropping foreign key
Next
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: Can a C function(server program) be a UDP or TCP server?