You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Stefan Voelkel <st...@millenux.com> on 2001/11/08 12:25:07 UTC

How to use Unix Domain Sockets as SAX Input

Hello,

i'd like to do something like this (on linux):

int fd = socket(PF_UNIX,SOCK_STREAM,0);
SAX::parse(fd);

evantually this will become a PF_INET socket later.
at the time parse() is called the socket is connected, so the only thing is that SAX should read form a socket instead of f.e. a file.

Did i miss something or does such an InputClass not exist yet? If not is this planned? Otherwise where can i find examples for that?

thx in advance

	stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org