Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 3
c x 3
Member Avatar for lalalu

Hi I am wondering about the syntax to convert the value in address.sin_addr.s_addr into readable ip value (ie reverse of inet_addr?). btw I do know we can just use address.sin_addr to get the ip, but i need to use s_addr to pass ip infos between clients thanks in advance

Member Avatar for jephthah
0
103
Member Avatar for lalalu

i get this error while compiling my .o file (object file) Data.c:24: error: field `HtStatus' has incomplete type Data.c:25: error: field `DcStatus' has incomplete type [code] struct database { struct hStat HtStatus[SIZE]; struct dStat DcStatus; }; struct hStat { //something; }; struct dStat { //something; }; [/code] do i need …

Member Avatar for ~s.o.s~
0
44
Member Avatar for lalalu

im trying to create a structure that contains an array of structures but i keep getting error when compiling the code (corrupt stack). just to make sure, is my struct code correct? [code] typedef struct status *StatusPointer; struct status { int item; }array[MAX_NUM]; typedef struct allStatus *AllStatusPointer; struct allStatus { …

Member Avatar for lalalu
0
982