A simple class to do line-based TCP communication. To be used with the NetServicesMin library-.
Revision 1:28416a5a4ec5, committed 2011-02-18
- Comitter:
- hlipka
- Date:
- Fri Feb 18 13:15:43 2011 +0000
- Parent:
- 0:f2727a16072f
- Commit message:
- added license
Changed in this revision
tcplinestream.cpp | Show annotated file Show diff for this revision Revisions of this file |
tcplinestream.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r f2727a16072f -r 28416a5a4ec5 tcplinestream.cpp --- a/tcplinestream.cpp Sat Jan 29 22:42:14 2011 +0000 +++ b/tcplinestream.cpp Fri Feb 18 13:15:43 2011 +0000 @@ -1,3 +1,26 @@ +/* +* TcpLineStream library +* Copyright (c) 2010 Hendrik Lipka +* +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +* THE SOFTWARE. +*/ + #include "Timer.h" #include "tcplinestream.h"
diff -r f2727a16072f -r 28416a5a4ec5 tcplinestream.h --- a/tcplinestream.h Sat Jan 29 22:42:14 2011 +0000 +++ b/tcplinestream.h Fri Feb 18 13:15:43 2011 +0000 @@ -1,3 +1,26 @@ +/* +* TcpLineStream library +* Copyright (c) 2010 Hendrik Lipka +* +* Permission is hereby granted, free of charge, to any person obtaining a copy +* of this software and associated documentation files (the "Software"), to deal +* in the Software without restriction, including without limitation the rights +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +* copies of the Software, and to permit persons to whom the Software is +* furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +* THE SOFTWARE. +*/ + #ifndef __TCPLINESTREAM__H__ #define __TCPLINESTREAM__H__