Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SSE-IoT-Encryption
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Fuhrmann
SSE-IoT-Encryption
Commits
ee6f3e4f
Commit
ee6f3e4f
authored
5 months ago
by
Dominik Fuhrmann
Browse files
Options
Downloads
Patches
Plain Diff
new server ip
parent
d9f980d0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
communicationScripts/client.py
+2
-2
2 additions, 2 deletions
communicationScripts/client.py
setup/pythonInstallation.sh
+0
-1
0 additions, 1 deletion
setup/pythonInstallation.sh
with
2 additions
and
3 deletions
communicationScripts/client.py
+
2
−
2
View file @
ee6f3e4f
...
...
@@ -12,9 +12,9 @@ def run_client(file_path):
# Sichere Verbindung mit dem Server herstellen
try
:
with
socket
.
create_connection
((
"
192.168.
201.132
"
,
5000
))
as
sock
:
with
socket
.
create_connection
((
"
192.168.
125.101
"
,
5000
))
as
sock
:
print
(
"
Verbindung zum Server wird hergestellt...
"
)
with
context
.
wrap_socket
(
sock
,
server_hostname
=
"
192.168.
201.132
"
)
as
ssl_sock
:
with
context
.
wrap_socket
(
sock
,
server_hostname
=
"
192.168.
125.101
"
)
as
ssl_sock
:
print
(
"
Mit dem Server verbunden!
"
)
# Datei senden
...
...
This diff is collapsed.
Click to expand it.
setup/pythonInstallation.sh
+
0
−
1
View file @
ee6f3e4f
...
...
@@ -4,7 +4,6 @@ sudo apt install python3-venv
# Create python virtual environment
python3
-m
venv
"projectEnv"
# TODO
# Activate venv
source
projectEnv/bin/activate
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment