shawn bright wrote:
> Luke !
>
> That worked !
> Man, if you knew how i have pulled my hair out over this for a while.
Well, I don't know how your experience in particular has been, but I
know I've had moments like that quite often.
That's what the tutor list is for :)
> I did not wind up usi
Luke !
That worked !
Man, if you knew how i have pulled my hair out over this for a while.
I did not wind up using the struct at all. I really thought that I was supposed to, but once i made the message with ord. Like
ord(0)+ord(0)+ord(0)+ord(200)... it worked.
So i guess this means that it does
shawn bright wrote:
> Hey there,
> I am writing this because there is something that I am not
> understanding about the struct module.
Okay, let's see what we can do.
> I have to send a message over a socket. The message has to be exactly
> 4 bytes, and the last bit has to be the value of 200.
Ok
Hey there,I am writing this because there is something that I am not understanding about the struct module.I have to send a message over a socket. The message has to be exactly 4 bytes, and the last bit has to be the value of 200.
so like this:null,null,null,200 would be the message, and the 200 ha