Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phgetnexttransporthdr.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phgetnexttransporthdr.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phgetnexttransporthdr.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phgetnexttransporthdr.html on line 8
Get the next header from a buffer of packed transport data
PhTransportHdr_t * PhGetNextTransportHdr(
PhTransportHdr_t *last_hdr,
PhTransportHdr_t *trans_hdr );
ph
This function gets the next header out of a buffer of packed transport
data.
This header contains information needed to unpack the data that follows
the header.
The last_hdr argument points to the last transport header that
was unpacked, or to the beginning of the buffer.
The information for the next header found is stored in the structure
pointed to by trans_hdr.
The same pointer as trans_hdr, or NULL if there
isn't another header in the buffer.
- EINVAL
- The structure pointed to by last_hdr has a NULL
buffer pointer.
- ENOENT
- The size of the buffer in the structure pointed to by trans_hdr
is 0, or there's no entry for the header in the transport registry.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PhGetAllTransportHdrs(),
PhGetTransportHdr(),
PhLocateTransHdr(),
PhReleaseTransportHdrs(),
PhUnlinkTransportHdr()
Drag and Drop
chapter of the Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phgetnexttransporthdr.html on line 121
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phgetnexttransporthdr.html on line 121