Overview
| Artifact ID: | e395a0dd4d72f3042fc7067b87d3b8aee8a0c9028965ec024791c930a0248b1e |
|---|---|
| Ticket: | 800716ffffffffffffffffffffffffffffffffff
publicize TclWinConvertError and TclWinConvertWSAError |
| User & Date: | jan.nijtmans on 2022-04-05 06:31:39 |
Changes
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2459674.77198579"
- closer changed to: "jan.nijtmans"
- comment changed to:
TclWinConvertError and TclWinConvertWSAError are private internal functions. They could be very useful to extension authors. I see a need for it. Let's make them public. Also, TclWinConvertWSAError doesn't map to all WSAE* error codes. Included are mappings to all of them. Unfortunetly, all the added can only return EINVAL until the posix codes they translate into get more meaningful to windows. Effectively, the behavior is still unchanged. Example: WSA_QOS_POLICY_FAILURE, 'rejected for administrative reasons - bad credentials' WSAEPROVIDERFAILEDINIT, 'The requested service provider could not be loaded or initialized' What posix codes do those get? Some detective work needs to be done with these. I really don't have a clue. The main reason I want to enlargen the mappings is to include WSAHOST_NOT_FOUND. I hate that the [socket] command can only return 'invalid argument' instead of 'authoritative host not found' or 'try again', or .... Should this really be a TIP?
- icomment:
Done: [https://core.tcl-lang.org/tips/doc/trunk/tip/598.md]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- severity changed to: "Minor"
- status changed to: "Closed"