Go to the source code of this file.
Typedef Documentation
Function Documentation
| void sceNetEtherNtostr |
( |
unsigned char * |
mac, |
|
|
char * |
name |
|
) |
| |
Convert Mac address to a string.
- Parameters
-
| mac | - The Mac address to convert. |
| name | - Pointer to a buffer to store the result. |
| void sceNetEtherStrton |
( |
char * |
name, |
|
|
unsigned char * |
mac |
|
) |
| |
Convert string to a Mac address.
- Parameters
-
| name | - The string to convert. |
| mac | - Pointer to a buffer to store the result. |
| int sceNetFreeThreadinfo |
( |
int |
thid | ) |
|
Free (delete) thread info/data.
- Parameters
-
- Returns
- 0 on success, < 0 on error
| int sceNetGetLocalEtherAddr |
( |
unsigned char * |
mac | ) |
|
Retrieve the local Mac address.
- Parameters
-
| mac | - Pointer to a buffer to store the result. |
- Returns
- 0 on success, < 0 on error
Retrieve the networking library memory usage.
- Parameters
-
- Returns
- 0 on success, < 0 on error
| int sceNetInit |
( |
int |
poolsize, |
|
|
int |
calloutprio, |
|
|
int |
calloutstack, |
|
|
int |
netintrprio, |
|
|
int |
netintrstack |
|
) |
| |
Initialise the networking library.
- Parameters
-
| poolsize | - Memory pool size (appears to be for the whole of the networking library). |
| calloutprio | - Priority of the SceNetCallout thread. |
| calloutstack | - Stack size of the SceNetCallout thread (defaults to 4096 on non 1.5 firmware regardless of what value is passed). |
| netintrprio | - Priority of the SceNetNetintr thread. |
| netintrstack | - Stack size of the SceNetNetintr thread (defaults to 4096 on non 1.5 firmware regardless of what value is passed). |
- Returns
- 0 on success, < 0 on error
Terminate the networking library.
- Returns
- 0 on success, < 0 on error
| int sceNetThreadAbort |
( |
int |
thid | ) |
|
Abort a thread.
- Parameters
-
- Returns
- 0 on success, < 0 on error