diff --git a/libISOBlue/README.md b/libISOBlue/README.md index db751a6..e4437f5 100644 --- a/libISOBlue/README.md +++ b/libISOBlue/README.md @@ -88,10 +88,10 @@ try { The library can also create so called "buffered" sockets. They work the same as the non "buffered" ones, but reading from them returns messages which ISOBlue has buffered -instead of what is currently going accross the ISOBUS. +instead of what is currently going across the ISOBUS. -The creation of "buffred" sockets is slightly different. -You need the identifier from a messge object to give to ISOBlue. +The creation of "buffered" sockets is slightly different. +You need the identifier from a message object to give to ISOBlue. This tells it to send you all messages which came after the one the identifier was from. ```Java @@ -99,7 +99,7 @@ was from. // If you just want all buffered messages, set this to zero Serializable messageId = message.getId(); -// Retrieve a pair of "buffered" scokets, one for each bus +// Retrieve a pair of "buffered" sockets, one for each bus ISOBUSSocket[] bufSockets = idb.createBufferedISOBUSSockets(messageId); // Place the sockets into separate variables (for convenience)