Send a pickled string to a socket. This function no longer allows for partial sends which can happen when the network is busy - UDP does not guarantee delivery and can deliver packets out of sequence.
(self, s)
| 739 | return s |
| 740 | |
| 741 | def send(self, s): |
| 742 | """ |
| 743 | Send a pickled string to a socket. |
| 744 | |
| 745 | This function no longer allows for partial sends which can happen |
| 746 | when the network is busy - UDP does not guarantee delivery and |
| 747 | can deliver packets out of sequence. |
| 748 | """ |
| 749 | if self.sock is None: |
| 750 | self.createSocket() |
| 751 | self.sock.sendto(s, self.address) |
| 752 | |
| 753 | class SysLogHandler(logging.Handler): |
| 754 | """ |
nothing calls this directly
no test coverage detected