sending a varint over Ethernet

I am attempting a small cut back minecraft server and need to be able to send a varint.

Varints can be found here developers.Google.com/protocol-buffers/docs/encoding

I need to be able to send them through the Ethernet library

Thanks :) Robert

Varints can be found here

They can’t, however, be found on the Arduino.

And, your “link” doesn’t work.

I fail to see where i write the word 'link'.

Can I send BITS using the Ethernet library?

I fail to see where i write the word 'link'.

You didn't. You posted this useless statement:

Varints can be found here developers.Google.com/protocol-buffers/docs/encoding

That is not a link or anything that is useful.

Can I send BITS using the Ethernet library?

Of course you can. As a matter of fact, that is ALL that you can send. 8 of them at a time.

I don't see whats wrong with it - I've copy pasted it into 2 browsers and it works fine?

Sorry what I mean is can I decide the individual bits that are sent easily?

So for example

Client.print((bin)00101100)

Thanks for helping :)

I've copy pasted it into 2 browsers and it works fine?

Why should I have to do that? If the browser doesn't display the http:// bit up front, that doesn't mean it isn't required.

Sorry what I mean is can I decide the individual bits that are sent easily?

No. All the bits in a byte are sent. You can create a byte that has only the bits you want set.

Client.print((bin)00101100)

Why are you trying to cast an octal value to bin? 0bxxxxxxxx is the correct way to define a binary value, and doesn't need any cast.

You choose to answer - it took much more effort for you to complain than it did just to copy and paste. I'm asking a question, and if I get something wrong it would be nice if you just told me and not made an arrogant comment.

I've asked in a c++ forum and people there have explained it - but thank you for trying.