| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,7 +63,7 @@ t = Thread(target=client.listen) | |||
| 63 | 63 | t.start() | |
| 64 | 64 | ``` | |
| 65 | 65 | ||
| 66 | - The client supports setting a custom generator that produces sequence numbers for the PDU packages. Per default a simple in memory generator is used which in conclusion is reset on (re)instantiation of the client, e.g. by an application restart. You may also set the starting sequence yourself by declaring the generator beforehand and passing it to the Client: | ||
| 66 | + A simple in memory generator that produces sequence numbers for the PDU packages is used, which is reset on (re)instantiation of the client, e.g. by an application restart. It starts by default with sequence number 0x00000001 but you may set the starting sequence yourself by declaring the generator beforehand and passing it to the Client: | ||
| 67 | 67 | ```python | |
| 68 | 68 | import smpplib.client | |
| 69 | 69 | ||
@@ -73,7 +73,7 @@ client = smpplib.client.Client('example.com', SOMEPORTNUMBER, sequence_generator | |||
| 73 | 73 | ``` | |
| 74 | 74 | ||
| 75 | 75 | ||
| 76 | - If you need more/different features associated with the generator, you can implement your own: | ||
| 76 | + The client supports setting a custom generator, so if you need more/different features associated with it, you can implement your own: | ||
| 77 | 77 | ```python | |
| 78 | 78 | import smpplib.client | |
| 79 | 79 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments