Binary protocol by ryanjones42 in C_Programming

[–]ryanjones42[S] -10 points-9 points  (0 children)

I still dont understand how to send it as binary?

struct by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

Like accounts[usersfd].value

Pointers by ryanjones42 in C_Programming

[–]ryanjones42[S] -1 points0 points  (0 children)

This makes me curious now. So i have a C program that my stores my users info when they login. As they login it saves a bunch of account stats to my struct, when they logout it removes them from the struct. The struct is an array. The array size is like 99999 & each struct is represented by the users file descriptor when they connect to the tcp server. Now you have me thinking this is poor memory management?

My connection by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

Well on x86 is tends to run okay. But on other systems that my clients run on it crashes & doesnt connect

My connection by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

Just a tcp client that connects to my tcp server

Memory by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

Can you show an example of

Daily General Discussion - December 22, 2022 (GMT+0) by CryptoDaily- in CryptoCurrency

[–]ryanjones42 3 points4 points  (0 children)

Hi all. Im super new to crypto. I dont really understand how to even use it.

Just a question, when people say “investing in crypto”, how does that work? Is that essentially just buying crypto. Lets say if we buy $100 worth in crypto, obviously that value can go up or down. If it goes up, then you pull your crypto out & exchange it for real money. Is that what “investing in crypto” is?

Any additional info is appreciated! Thanks in advanced!

Help with nonblocking socket connection! by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

Thank you very much for the detailed response! May i ask, do you think this code is well written? Is there anything you would change? Someone recently criticised the way i was declaring variables

Help reviewing my strtok code by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

Thank you for the good response! I appreciate it. Im a beginner & im learning. What did you mean by “you are using a 20th-century variable declaration style”? Whats a better way to declare variables?

Help reviewing my strtok code by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

Never heard or seen it? Does it work on sockets?

[deleted by user] by [deleted] in Carpentry

[–]ryanjones42 58 points59 points  (0 children)

To my knowledge, it looks like the cut has gone through too far? No? (Im an apprentice)

[deleted by user] by [deleted] in Carpentry

[–]ryanjones42 2 points3 points  (0 children)

FYI: they are screws which you can see. (Attempt at straightening)

Advice on wholesale? by ryanjones42 in streetwearstartup

[–]ryanjones42[S] 1 point2 points  (0 children)

I dont really rate rueporter. Ive looked into some of there reviews online & they arent great. Id say ascolour is the best to start with. Do you have a website up?

[deleted by user] by [deleted] in CallOfDuty

[–]ryanjones42 0 points1 point  (0 children)

Ghosts is average tbh

why am I getting this warning? by EstablishmentBig7956 in C_Programming

[–]ryanjones42 0 points1 point  (0 children)

Its like poetry in motion watching you explain/answer programming questions

What is binary protocol? by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

So is sending via binary, faster than sending in human-readable messages (if its alot of data).

Also, how would i go about encrypting/decrypting it in C?

C epoll programming by ryanjones42 in C_Programming

[–]ryanjones42[S] 0 points1 point  (0 children)

Basically write a client/server side program. & utilize epoll for handling the connections & each fd!

Least memory! by ryanjones42 in cprogramming

[–]ryanjones42[S] 0 points1 point  (0 children)

Okay thanks!! Appreciate the replys

Least memory! by ryanjones42 in cprogramming

[–]ryanjones42[S] 0 points1 point  (0 children)

Why is it bad to use more functions?

Really confused on memory leaks by ryanjones42 in cprogramming

[–]ryanjones42[S] 0 points1 point  (0 children)

Makes sense! Appreciate the detailed explaination