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