one last thing, obviously i'm not understanding strcspn,
the example i seen on cplusplus.com leads me to believe that strcspn for my purpose should return something like 300 or so, but as i said it...
Type: Posts; User: qualia
one last thing, obviously i'm not understanding strcspn,
the example i seen on cplusplus.com leads me to believe that strcspn for my purpose should return something like 300 or so, but as i said it...
hi,
thanks, strstr works fine to locate the encoding header then memset to 0 the length of the encoding string but that only works because i know what sort of content i'm receiving from the remote...
you'll need a codec to play mp3 files,
wavs are easier afaik beyond the header theres just raw data,
if theres enough onboard memory you can load the raw sample data (you'll need to find a way to...
hello,
i'm trying to locate the occurence in a string of a comparison string using srcspn, but it never returns correct results,
char acc[] = "Accept-Encoding:";
int loc = strcspn(tmp,...
hello,
is it necessary to use pthread and select if i want to build a http server and wish to have concurrent client access?
like this code from the gnuc library page...
hello,
i have a routine to calculate the 3x3 covariance matrix of a nx3 matrix, however it's not very efficient as it uses 3 nested for loops, and with large data sets it really clogs up. i was...
hello,
i'm trying to write a UDP client for a basic "chat" service, basically i want the client to receive and print messages sent to it from the server, however still allow the user to enter text...
hi yes,
that was it, another silly mistake,
thanks
hello, i have a bunch of string formatting using sprintf and inet_ntop such as:
sprintf(tmp, "Message received from: <ip>:%s <port>:%d",
inet_ntop(client->addr.sin_addr), ...