 |
getprotobyname ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The getprotobyname function retrieves the protocol information corresponding to a protocol name. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
struct PROTOENT FAR * getprotobyname(
const char FAR *name
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER getprotobyname IN ws2_32;
STRING name
|
 |
 |
 |
| Parameters: |
 |
name
[in] Pointer to a null-terminated protocol name. |
 |
 |
| Return value: |
 |
| If no error occurs, getprotobyname returns a pointer to the protoent. Otherwise, it returns a NULL pointer and a specific error number can be retrieved by calling WSAGetLastError. |
 |
 |
| Word Index links for the getprotobyname : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-20 07:21:12 | | Modified: | 2001-12-20 07:22:36 | Visited in last 7 days: 19 |